package org.rollinitiative.d20.combat.actions.standard;

import org.rollinitiative.d20.combat.Action;
import org.rollinitiative.d20.combat.Combatant;
import org.rollinitiative.d20tools.arena.Arena;

public class TotalDefense implements Action {
	public double calculate(Combatant combatant) {
		// Determine likelihood of performing a TotalDefense
		// Check HP, can't move, etc..
		
		int hp = combatant.getActor().getHP();
		int max = combatant.getActor().getMaxHP();
		
		return hp/max;
	}
	
	public void execute() {
		// Modify dodge bonus +4 for one round. 
	}
}
